#myads .items th:first-child,
#myads .items td:first-child{
	padding-left:5px;
}

#myads .items td:first-child{
	width:37px;

}

.grid-bar{
	white-space:nowrap;
	margin:5px 0;
	position:relative;
}


.grid-bar .grid-group{
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  *display: inline;
  zoom: 1;
	white-space:nowpap;
	margin-right:20px;
	font-size: 0;
}
.grid-bar .grid-group .grid-bar-item{
  border-left:none;
	margin:0;
  white-space:normal;
  font-size: 14px;
	border-radius:				0;
	-moz-border-radius:		0;
	-webkit-border-radius:0;
}
.grid-bar .grid-group .grid-bar-item:first-child{
  -webkit-border-bottom-left-radius:2px;
          border-bottom-left-radius:2px;
  -webkit-border-top-left-radius:2px;
          border-top-left-radius:2px;
  -moz-border-radius-bottomleft:2px;
  -moz-border-radius-topleft:2px;
  border-left:1px solid #ddd;
}
.grid-bar .grid-group .grid-bar-item:last-child{
  -webkit-border-top-right-radius:2px;
          border-top-right-radius:2px;
  -webkit-border-bottom-right-radius:2px;
          border-bottom-right-radius:2px;
  -moz-border-radius-topright:2px;
  -moz-border-radius-bottomright:2px;

}

.grid-bar .grid-bar-item{
	position:relative;
	text-align:center;
	margin-right:10px;

	display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  *display: inline;
  zoom: 1;

	height:26px;
	min-width:40px;
	padding: 0 5px;

	border-radius:				2px;
	-moz-border-radius:		2px;
	-webkit-border-radius:2px;
	background: #eee;

	border:1px solid #ddd;
}
.grid-bar-item:hover{
	box-shadow:0 0 2px #999;

  background-color: #F6F6F6;
  background-color: #eeeeee;
  background-image: -moz-linear-gradient(top, #F6F6F6, #eeeeee);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F6F6F6), to(#eeeeee));
  background-image: -webkit-linear-gradient(top, #F6F6F6, #eeeeee);
  background-image: -o-linear-gradient(top, #F6F6F6, #eeeeee);
  background-image: linear-gradient(to bottom, #F6F6F6, #eeeeee);
  background-repeat: repeat-x;
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#F6F6F6', endColorstr='#eeeeee', GradientType=0);
}

.grid-bar-item:hover .label{
	display:block;
}
.grid-bar-item.active:hover .label{
  display:none;
}

.grid-bar .grid-bar-item.disabled{}
.grid-bar .grid-bar-item.disabled a{
	display:none;
}
.grid-bar .grid-bar-item.disabled:hover{
  background: #eee;
  box-shadow:none;
}
.grid-bar .grid-bar-item.disabled i{
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
		filter:	alpha(opacity=40);
		-moz-opacity: 0.4;
		-khtml-opacity: 0.4;
		opacity: 0.4;
}
.grid-bar-item.disabled .label{
  background:#ddd;
  color:#555;
}
.grid-bar-item.disabled .label:after{
  border-bottom-color: #ddd;
}


.grid-bar-item .label{
	display:none;
	position:absolute;
	left:-30px;
	top:35px;
	z-index:30;
	min-width:70px;
	color:#eee;
	background:#222;
	padding:5px;
	font-size:80%;
	white-space:nowrap;
}

.grid-bar-item .label:after{
	content: ' ';
	height: 0;
	position: absolute;
	width: 0;
	top:-20px;
	left:30px;

	border: 10px solid transparent;
	border-bottom-color: #222;
}

.grid-bar .grid-bar-item a{
	display:block;
	width:100%;
	height:100%;
	position:absolute;
	left:0;top:0;
	border:none;
}

.grid-bar .grid-bar-item .caption,
.grid-bar .grid-bar-item i{
	display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  *display: inline;
  zoom: 1;

	height:100%;
}
.grid-bar .grid-bar-item .caption span{
    display: table-cell;
    height: 26px;
    vertical-align: middle;
    font-size:90%;
}

.grid-bar .grid-bar-item i{
	width:20px;
	background:url(/img/icons_pack.png) no-repeat left top;
}


.grid-bar .grid-bar-item.more i{	background-position: -20px center; }

.grid-bar .grid-bar-item.chb{    margin-left: 14px;	margin-right: 30px;}
tr.grid-bar .grid-bar-item.chb{margin-left:-5px;}
.grid-bar .grid-bar-item.chb .icon{	background-position: -160px center; }
.grid-bar .grid-bar-item.chb.all .icon{	background-position: -180px center; }
.grid-bar .grid-bar-item.chb.some .icon{	background-position: -200px center; }

.grid-bar .grid-bar-item.pub .icon{	background-position: -40px center; }
.grid-bar .grid-bar-item.unpub .icon{	background-position: -60px center; }
.grid-bar .grid-bar-item.del .icon{	background-position: -80px center; }
.grid-bar .grid-bar-item.vip .icon{	background-position: -100px center; }
.grid-bar .grid-bar-item.add .icon{	background-position: -120px center; }
.grid-bar .grid-bar-item.refresh .icon{	background-position: -140px center; }
.grid-bar .grid-bar-item.stats .icon{	background-position: -220px center; }

.grid-bar .grid-bar-item.active,
.grid-bar .grid-bar-item.active:hover{
	background:#fff;
	border-bottom:none;
}

.grid-bar .grid-bar-item.active:after{
	content:' ';
	position:absolute;
	height:3px;
	bottom:-1px;
	width:100%;
	left:0;
	z-index:21;
	background:#fff;
}

.grid-bar .grid-bar-item .subs{
	display:none;
	font-size:90%;
	text-align:left;
	position:absolute;
	z-index:19;
	left:-5px;
	top:100%;
	padding:10px;
	border-radius:				2px;
	-moz-border-radius:		2px;
	-webkit-border-radius:2px;
	border:1px solid #ddd;
	background:#fefefe;
	min-width:150px;
	box-shadow:0 0 1px #ddd;

}
.grid-bar .grid-bar-item .subs.tarif{
	min-width:165px;
}
.grid-bar .grid-bar-item.active .subs{
	display:block;
}

.grid-bar .grid-bar-item .subs .head{
	border-bottom:1px solid #ddd;
	margin:-10px -10px 0 -10px;
	padding: 5px 10px;
	background:#fff;
}
.grid-bar .grid-bar-item .subs .foot{
	margin:0 -10px -10px;
	padding: 0 10px;
  border-top:1px solid #ddd;
  background:#fff;
}
.grid-bar .grid-bar-item .subs .comment{
	font-size:80%;
	color:#555;
}
.grid-bar .grid-bar-item .subs hr{
	border-color:#ddd;
	margin:0 -10px;
}

.grid-bar .grid-bar-item .subs a{
	position:static;
	display:block;
	padding:5px;
}

.grid-bar .grid-bar-item .subs a:hover{
	margin-left:-10px;
	padding:5px 5px 5px 15px;
	background:#eee;
}

.grid-bar .grid-bar-item .subs a.disabled{
	display:none;
}

#sub_tarif{
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    left: 0;
    padding: 10px;
    position: absolute;
    right: 0;
    top: -3px;
    width: auto;
    z-index: 22;
    box-shadow:0 5px 5px #ddd;
    white-space:normal;
    font-size:95%;
    display:none;
}

#slider_from,
#slider_to{margin-top:2px;}
#slider_to{padding-left:7px;}
#slider{margin-top:5px;}
#tarif{width:100%;}
#sub_tarif .info{color:#555;}
#sub_tarif .info strong{color:#222;}